package com.lvhx.springboot.base;

/**
 * 聚合类的最顶层
 *
 * @param <I>
 */
public interface AggregateRoot<I> {
    I getIdentifier();

    Long getVersion();

    void persist();
}
